package com.example.mall.domain.dto;

import jakarta.validation.Valid;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.util.List;

@Data
public class OrderDTO {
    @NotEmpty(message = "订单项不能为空")
    @Valid
    private List<OrderItemDTO> items;
} 